package org.finesys.ai.entity;

import org.finesys.common.mp.core.annotation.QueryWrappers;
import org.finesys.common.mp.core.base.BaseEntity;
import org.finesys.common.mp.core.constants.QueryWrapperConstants;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 供应商模型信息
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class AigcProviderModel extends BaseEntity {

    /**
     * 模型ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    /**
     * 模型名称
     */
    @QueryWrappers(sort=true)
    private String modelName;
    /**
     * 模型类型:Chat、Embedding、Image
     */
    @QueryWrappers(sort=true,condition = QueryWrapperConstants.LIKE)
    private String modelType;

    /**
     * 模型提供者
     */
    @QueryWrappers(sort=true)
    private String provider;
    /**
     * 模型名称
     */
    @TableField(exist = false)
    private String providerName;
    /**
     * 模型描述
     */
    private String remark;
    /**
     * 删除标记
     */
    @TableLogic
    private String delFlag;
}
